package com.qdsgjsfk.vision.model;

import com.rest.business.RestProxy;
import com.rest.response.DeviceResponse;

import io.reactivex.Observer;
import io.reactivex.disposables.Disposable;

/**
 * Created by HP on 2019/10/31.
 */

public class DeviceListModel {




    public void getDeviceList(long deviceType) {
        RestProxy.getInstance().getDevices(deviceType, new Observer<DeviceResponse>() {
            @Override
            public void onSubscribe(Disposable d) {

            }

            @Override
            public void onNext(DeviceResponse deviceResponse) {
            }

            @Override
            public void onError(Throwable e) {

            }

            @Override
            public void onComplete() {

            }
        });
    }


}
